﻿using Quartz;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyChat.Job
{
    public class ReminderJob : IJob
    {
        public Task Execute(IJobExecutionContext context)
        {
            // 显示 AntdUI 通知
            if (Main.Instance != null)
            {
                Main.Instance.ShowNotification("提示", "这是5秒钟的一次提醒！");
            }

            return Task.CompletedTask;
        }
    }
}
